import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: () => import('@/views/Main'),
    redirect: '/index',
    children: [

      {
        path: '/index',
        name: 'index',

        component: () => import('../views/index/index.vue'),
        children: [
         
        ]
      },
      {
        path: '/h0',
        name: 'h0',
        
        component: () => import('../views/h0/index.vue'),
        children: [

        ]
      },
      {
        path: '/h1',
        name: 'h1',
        
        component: () => import('../views/h1'),
        children: [

        ]
      },
      {
        path: '/h2',
        name: 'h2',
        
        component: () => import('../views/h2'),
        children: [

        ]
      },
      {
        path: '/h3',
        name: 'h3',
        
        component: () => import('../views/h3'),
        children: [

        ]
      },
      {
        path: '/h4',
        name: 'h4',
        
        component: () => import('../views/h4'),
        children: [

        ]
      },
      {
        path: '/h5',
        name: 'h5',
        
        component: () => import('../views/h5'),
        children: [

        ]
      },
      {
        path: '/h6',
        name: 'h6',
        
        component: () => import('../views/h6'),
        children: [

        ]
      },
      {
        path: '/h7',
        name: 'h7',
        
        component: () => import('../views/h7'),
        children: [

        ]
      },
      {
        path: '/h8',
        name: 'h8',
        
        component: () => import('../views/h8'),
        children: [

        ]
      },
      {
        path: '/h9',
        name: 'h9',
        
        component: () => import('../views/h9'),
        children: [

        ]
      },


    ]

  },





]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
